too many open files
描述
http: Accept error: accept tcp [::]:9000: accept: too many open files; retrying in 1s
解决
修改docker-compose.yml文件unlimit字段的soft值,改大一点
临时修改 fs.inotify.max_user_instances
sysctl -w fs.inotify.max_user_instances=1024
若要用就修改,需要添加到系统配置中
vi /etc/sysctl.conf
fs.inotify.max_user_instances=1024